<template>
  <div>
    <div>
      <ul class="daiying">
        <li v-for="(item, index) in praiselist" :key="index">
          <div class="zhou">{{ index }}</div>
          <div class="list">
            <ul>
              <li v-for="i in item" :key="i.id">
                <div class="item-img">
                  <img :src="i.img" :alt="i.nm" />
                </div>
                <div class="item-text">
                  <div class="item-tt">
                    <div class="item-movie">{{ i.nm }}</div>
                    <div class="tiem-shuzi">
                      {{ i.wish }}<span>人想看</span>
                    </div>
                    <div class="tiem-zhuyan">主演：{{ i.star }}</div>
                    <div class="tiem-shijian">{{ i.comingTitle }}</div>
                  </div>
                  <div class="item-r">
                    <div class="btu">想看</div>
                  </div>
                </div>
              </li>
            </ul>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "DaiyingPraise",
  props: ["praiselist"],
};
</script>

<style lang="less" scoped>
.daiying {
  li {
    .zhou {
      font-size: 14px;
      color: #444;
      margin-left: 0.2667rem;
      margin-bottom: 0.2133rem;
    }
  }
}
.list ul li {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
}

.list ul li .item-img {
  width: 18%;
  margin-left: 5px;
}

.list ul li .item-img img {
  width: 100%;
}

.list ul li .item-text {
  width: 75%;
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid #f0f0f0;
  .item-r {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    .btu {
      width: 54px;
      height: 30px;
      border-radius: 1.0667rem;
      background-color: #faaf00;
      box-shadow: 0 0.04rem 0.04rem 0 rgb(240 61 55 / 15%);
      color: #fff;
      font-size: 13px;
      text-align: center;
      line-height: 0.7467rem;
    }
  }
}

.list ul li .item-text .item-tt {
  width: 75%;
  .item-movie {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0.1333rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .tiem-shuzi {
    font-size: 15px;
    color: #faaf00;
    margin-bottom: 0.1333rem;
    font-weight: bold;
    span {
      font-size: 13px;
      color: #666;
      font-weight: normal;
    }
  }
  .tiem-zhuyan {
    font-size: 13px;
    color: #666;
    margin-bottom: 0.08rem;
  }
  .tiem-shijian {
    font-size: 13px;
    color: #666;
    padding-top: 7px;
  }
}

.list ul li .item-text .item-btn {
  width: 30%;
}
</style>